//
//  HELCompulsoryM.h
//  sanda
//
//  Created by 陈武琦 on 16/7/14.
//  Copyright © 2016年 陈武琦. All rights reserved.
//
#import "HELSuperModel.h"
#import "HELPicRLM.h"

#import "HELCourseDetailModel.h"

@interface HELCompulsoryM : RLMObject
@property NSString *attachUrl;
@property NSInteger id;
@property NSString *tblStudyDataId;
//pdf唯一标示
@property NSString *pdfName;
//中文名
@property NSString *name;
@property NSString *viewNum;
@property NSString *commentNum;
@property NSString *scoreAvg;
@property NSString *progress;
@property NSString *readStatus;
@property HELPicRLM *attachUrlMap;

@property NSString *userId;

+(instancetype)realmFromCourse:(HELCourseDetailModel *)course;
- (void)updateWithCourse:(HELCourseDetailModel *)course;
@end
